package com.leadingsoft.core.mapper;

import com.leadingsoft.core.pojo.Code;
import com.leadingsoft.core.pojo.CodeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CodeMapper {
	long countByExample(CodeExample example);
	int deleteByExample(CodeExample example);
	int deleteByPrimaryKey(Integer codeId);
	int insert(Code record);
	int insertSelective(Code record);
	List<Code> selectByExampleWithBLOBs(CodeExample example);
	List<Code> selectByExample(CodeExample example);
	Code selectByPrimaryKey(Integer codeId);
	int updateByExampleSelective(@Param("record") Code record, @Param("example") CodeExample example);
	int updateByExampleWithBLOBs(@Param("record") Code record, @Param("example") CodeExample example);
	int updateByExample(@Param("record") Code record, @Param("example") CodeExample example);
	int updateByPrimaryKeySelective(Code record);
	int updateByPrimaryKeyWithBLOBs(Code record);
	int updateByPrimaryKey(Code record);
}
